﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WUCResumenPortafolioBalance.ascx.cs"
    Inherits="WebUserControls_WUCResumenPortafolioBalance" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<link href="../Styles/SiteEcoGroup.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .float_left
    {
        float: left;
    }
    
    .float_right
    {
        float: right;
    }
    
    /* Adjust this width to fit your needs */
    .container
    {
        width: 350px;
    }
    
    .container_head
    {
        height: 30px;
        background-image: url(../img/sidebar_center.jpg);
    }
    
    /* To Center align the title add: text-align:center; */
    .container_head_text
    {
        height: 23px;
        padding: 7px 0 0 0;
        font-family: Arial, Helvetica, sans-serif;
        color: #666666;
        font-size: 16px;
        font-weight: bold;
    }
    
    .container_content
    {
        background-color:White;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        padding: 5px;
        color: #666666;
        border-width: 1px 1px 1px 1px;
        border-spacing: 0px;
        border-style: none solid solid solid;
        border-color: #E7E7E7;
    }
</style>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="100%">
            <h4>
                Composición del Portafolio</h4>
            <br />
        </td>
    </tr>
    <tr>
        <td align="center" valign="top" bgcolor="#FFFFFF">
            <br />
            <table width="97%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                    <td width="61%" align="left">
                        <strong>Portafolio:</strong>
                        <asp:Label runat="server" ID="lblAlias"></asp:Label>
                        &nbsp;-
                        <asp:Label runat="server" ID="lblTipo"></asp:Label>
                    </td>
                    <td width="39%" align="left">
                        <strong>Estado de Cuenta del:</strong>
                        <asp:Label runat="server" ID="lblFecha"></asp:Label>
                    </td>
                </tr>
            </table>
            <br />
        </td>
    </tr>
</table>
<br />
<br />
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td align="center">
                    <table runat="server" id="Table1" width="100%">
                        <tr>
                            <td align="right">
                                <asp:LinkButton ID="lbtnVerAportesYRetiros" runat="server" 
                                    onclick="lbtnVerAportesYRetiros_Click">Ver aportes, retiros y utilidad</asp:LinkButton>
&nbsp;<asp:LinkButton ID="LbtnVerGrid" runat="server" OnClick="LbtnVerGrid_Click">Ver Posiciones</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="lnkbutPrintReport_Click"
                                    Text="Imprimir"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table id="TableActivoPasivo" runat="server" width="100%" align="center">
                                    <tr>
                                        <td align="center">
                                            <asp:GridView ID="gvPortafolioBalancePosicion0" runat="server" AllowSorting="True"
                                                AutoGenerateColumns="False" BackColor="White" BorderColor="#c9ccd3" 
                                                BorderStyle="None" CellPadding="3"
                                                GridLines="Horizontal" ShowFooter="True" Width="100%">
                                                <Columns>
                                                    <asp:BoundField>
                                                        <FooterStyle Width="50px" />
                                                        <ItemStyle BackColor="#c9ccd3" ForeColor="White" Font-Bold="true" Font-Size="Medium"
                                                            HorizontalAlign="Center" Width="50px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Key" HeaderText="Tipo">
                                                        <FooterStyle HorizontalAlign="Left" Width="200px" />
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle HorizontalAlign="Left" Width="200px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataFormatString="{0:0,0.00}" HeaderText="Valor de Mercado">
                                                        <FooterStyle HorizontalAlign="Right" Width="100px" />
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" Width="100px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Peso (%)">
                                                        <FooterStyle HorizontalAlign="Right" Width="80px" />
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" Width="80px" />
                                                    </asp:BoundField>
                                                </Columns>
                                                <FooterStyle CssClass="GridViewFooterStyle" />
                                                <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                <PagerStyle CssClass="GridViewPagerStyle" />
                                                <RowStyle CssClass="GridViewRowStyle" />
                                                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                <SelectedRowStyle CssClass="GridViewSelectedRowStyle" />
                                            </asp:GridView>
                                            <asp:GridView ID="gvPortafolioBalancePosicion1" runat="server" AutoGenerateColumns="False"
                                                BackColor="White" BorderColor="#c9ccd3" BorderStyle="None" CellPadding="3" 
                                                GridLines="Horizontal" ShowFooter="True"
                                                ShowHeader="False" Width="100%">
                                                <Columns>
                                                    <asp:BoundField>
                                                        <FooterStyle Width="50px" />
                                                        <ItemStyle BackColor="#c9ccd3" ForeColor="White" Font-Bold="true" Font-Size="Medium"
                                                            HorizontalAlign="Center" Width="50px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Key">
                                                        <FooterStyle Width="200px" />
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle HorizontalAlign="Left" Width="200px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataFormatString="{0:n}" HeaderText="Valor de Mercado">
                                                        <FooterStyle HorizontalAlign="Right" Width="100px" />
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" Width="100px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Peso (%)">
                                                        <FooterStyle HorizontalAlign="Right" Width="80px" />
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" Width="80px" />
                                                    </asp:BoundField>
                                                </Columns>
                                                <FooterStyle CssClass="GridViewFooterStyle" />
                                                <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                <PagerStyle CssClass="GridViewPagerStyle" />
                                                <RowStyle CssClass="GridViewRowStyle" />
                                                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                <SelectedRowStyle CssClass="GridViewSelectedRowStyle" />
                                                <SortedAscendingCellStyle BackColor="#F4F4FD" />
                                                <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                                                <SortedDescendingCellStyle BackColor="#D8D8F0" />
                                                <SortedDescendingHeaderStyle BackColor="#3E3277" />
                                            </asp:GridView>
                                            <br />
                                            <br />
                                            <table width="90%" border="0" cellspacing="1" cellpadding="1" 
                                                class="tabla_borde_grisclaro">
                                                <tr>
                                                    <td align="center" valign="top" bgcolor="#FFFFFF">
                                                        <br />
                                                        <asp:Chart ID="Chart1" runat="server" BackColor="WhiteSmoke" BackGradientStyle="TopBottom"
                                                            BackSecondaryColor="White" BorderColor="26, 59, 105" BorderDashStyle="Solid"
                                                            BorderWidth="2" Height="391px" ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)"
                                                            Palette="BrightPastel" Width="646px">
                                                            <Titles>
                                                                <asp:Title Font="Trebuchet MS, 14.25pt, style=Bold" ForeColor="26, 59, 105" Name="Title1"
                                                                    ShadowColor="32, 0, 0, 0" ShadowOffset="3" Text="Pie Chart">
                                                                </asp:Title>
                                                            </Titles>
                                                            <Legends>
                                                                <asp:Legend TitleFont="Microsoft Sans Serif, 8pt, style=Bold" BackColor="Transparent"
                                                                    IsEquallySpacedItems="True" Font="Trebuchet MS, 8pt, style=Bold" IsTextAutoFit="False"
                                                                    Name="Default">
                                                                </asp:Legend>
                                                            </Legends>
                                                            <BorderSkin SkinStyle="Emboss" />
                                                            <Series>
                                                                <asp:Series BorderColor="180, 26, 59, 105" ChartType="Pie" YValueType="Double" Label="#PERCENT{P1}"
                                                                    Color="220, 65, 140, 240" Name="Default">
                                                                </asp:Series>
                                                            </Series>
                                                            <ChartAreas>
                                                                <asp:ChartArea BackColor="Transparent" BackSecondaryColor="Transparent" BorderColor="64, 64, 64, 64"
                                                                    BorderWidth="0" Name="ChartArea1" ShadowColor="Transparent">
                                                                    <Area3DStyle Rotation="0" />
                                                                    <AxisY LineColor="64, 64, 64, 64">
                                                                        <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                                        <MajorGrid LineColor="64, 64, 64, 64" />
                                                                    </AxisY>
                                                                    <AxisX LineColor="64, 64, 64, 64">
                                                                        <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                                        <MajorGrid LineColor="64, 64, 64, 64" />
                                                                    </AxisX>
                                                                </asp:ChartArea>
                                                            </ChartAreas>
                                                        </asp:Chart>
                                                        <br />
                                                        <br />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
        </td>
    </tr>
</table>
